package com.adapter;

import java.util.LinkedHashMap;
import java.util.LinkedList;

/**
 * @author xiangui
 * 描述: 适配器模式
 * 时间: Create in 15:33 2018/7/5
 */
public class MainAdapter {
    public static void main(String[] args) {
       /*  Current current = new Current();
         current.use220V();*/

        /* Adapter adapter = new Adapter();
         adapter.use18V();*/
        AdapterNew adapterNew = new AdapterNew(new Current());
        adapterNew.user18V();

        LinkedList linkedList = new LinkedList();

        LinkedHashMap linkedHashMap = new LinkedHashMap();


    }
}
